import express from 'express'

const router = express.Router();

import categoryRoutes from "./category.js"
router.use("/category", categoryRoutes)

import articleRoutes from "./article.js"
// /api/v1/admin/article
router.use("/article", articleRoutes)

//./api/v1/admin/user
import userRouter from "./user.js"
router.use("/user", userRouter);

import commentRoutes from "./comment.js"
router.use("/comment", commentRoutes)


export default router;